home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / ams__l~1.zoo / include / sound.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-05  |  943 b   |  30 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. //  This file is part of the Atari Machine Specific Library,
  4. //  and is Copyright 1992 by Warwick W. Allison.
  5. //
  6. //  You are free to copy and modify these sources, provided you acknowledge
  7. //  the origin by retaining this notice, and adhere to the conditions
  8. //  described in the file COPYING.
  9. //
  10. //////////////////////////////////////////////////////////////////////////////
  11. #ifndef _Sound_h
  12. #define _Sound_h
  13.  
  14. #include <bool.h>
  15.  
  16. const short USE_ENVELOPE=16; // Pass as a "Volume".
  17.  
  18. void Sound(short Channel, short Pitch, short Volume);
  19. void SetEnvelope(short WaveForm, short Period);
  20. void SetNoisePeriod(short P);
  21. void SoundOff();
  22. void SetPitch(short Channel, short Pitch);
  23. void SetVolume(short Channel, short Volume);
  24. void SetNoisy(short Channel, bool Noisy);
  25. void SetActive(short Channel, bool Active);
  26.  
  27. void SoundControl(short Active, short Noisy);
  28.  
  29. #endif
  30.